API Documentation
Static Public Member Functions | List of all members
nkDebug::TestUtils Class Referencefinal

Utilities to write tests. More...

Static Public Member Functions

static void check (bool condition, const nkMemory::StringView &message="")
 

Detailed Description

Utilities to write tests.

Member Function Documentation

◆ check()

static void nkDebug::TestUtils::check ( bool  condition,
const nkMemory::StringView message = "" 
)
static

Allows to check a condition and fail if it resolves to false.

Parameters
conditionThe condition to check for.
messageThe message to provide in case of a failure.

The documentation for this class was generated from the following file: